package com.honghu.villagepost.adapter

import com.honghu.villagepost.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.tencent.lbssearch.`object`.result.SuggestionResultObject

/**
 * @author: mqwang
 * @create: 3/14/21 7:47 AM
 * @Description:
 */
class SearchItemAdapter : BaseQuickAdapter<SuggestionResultObject.SuggestionData, BaseViewHolder>(R.layout.adapter_search_item) {
    override fun convert(helper: BaseViewHolder?, item: SuggestionResultObject.SuggestionData?) {
        helper!!.setText(R.id.tv_content, item!!.address)
    }
}